<#macro header _title="">
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>${_title}</title>
		<link rel="stylesheet" type="text/css" href="${base}/web/css/ana_style.css" />
		<script type="text/javascript" src="${base}/web/js/jquery.js"></script>
		<script language="javascript" type="text/javascript" src="${base}/web/js/My97DatePicker/WdatePicker.js"></script>
		<#nested>
	</head>
</#macro>

<#macro position _value="">
	<div class="notice">${_value}</div>
</#macro>

<#macro getStreet>
<script type="text/javascript">
function getStreet(id){
	if($("#country").val() != ""){
		$.ajax({
			url: '${base}/stat/getRegionList',
			type: 'GET',
			data: {regionId:$("#country").val()},
			dataType: 'json',
			timeout: 3000,
			error: function(){
				alert('获取街道数据失败！');
			},
			success: function(data){
				var html = '<option value="">-- 全部 --</option>';
				for(var i = 0; i < data.regionList.length; i++)
				{
					html = html + '<option value="'+data.regionList[i].id+'">' + data.regionList[i].name + '</option>';
				}
				$("#street").html(html);
			}
		});
	}else{
		html = '<option value="">-- 请选择 --</option>';
		$("#street").html(html);
	}
}
</script>
</#macro>
